package cn.ulyer.common.security.authority;

import cn.ulyer.common.jpa.entity.Permission;
import org.springframework.lang.NonNull;

import java.util.Collection;

public interface AuthorityProvider {


    @NonNull
    Collection<Permission> providerPermissions();

    boolean clear();

    void refresh();

}
